﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BanVeXemPhim_Presentation
{
    public class GiaVeDTO
    {
        private int _idGiaVe;
        private int _loaiGhe;
        private int _Thu;
        private DateTime _giobatdau;
        private DateTime _gioKetThuc;

        private int _iddoiTuong;
        private int _idphienban;
        private int _giave;

        public int Thu
        {
            get { return _Thu; }
            set { _Thu = value; }
        }
        public int GiaVe
        {
            get { return _giave; }
            set { _giave = value; }
        } 
        public int IdPhienBan
        {
            get { return _idphienban; }
            set { _idphienban = value; }
        }

        public int IdGiaVe
        {
            get { return _idGiaVe; }
            set { _idGiaVe = value; }
        }

        public int LoaiGhe
        {
            get { return _loaiGhe; }
            set { _loaiGhe = value; }
        }


        public DateTime GioBatDau
        {
            get { return Convert.ToDateTime(_giobatdau.ToShortTimeString()); }
            set { _giobatdau = Convert.ToDateTime(value.ToShortTimeString()); }
        }

        public DateTime GioKetThuc
        {
            get { return Convert.ToDateTime(_gioKetThuc.ToShortTimeString()); }
            set { _gioKetThuc = Convert.ToDateTime(value.ToShortTimeString()); }
        }
        public int IdDoiTuong
        {
            get { return _iddoiTuong; }
            set { _iddoiTuong = value; }
        }
    }
}
